
body {
    background: url(../images/player_bg.jpeg) no-repeat center;
}

ul li {
    list-style: none;
}

#player {
    width: 1000px;
    height: 500px;
    margin: 100px auto;
}

header {
    width: 100%;
    height: 45px;
    background-color: rgb(66, 150, 204);
    position: relative;
}
header span {
    line-height: 45px;
    margin-left: 10px;
}

header .search-bar {
    height: 38px;
    width: 300px;
    position: absolute;
    top: 3.5px;
    right: 15px;
    background-color: rgba(255, 255, 255, .34);
    border-radius: 19px;
}

.search-bar input {
    background: none;
    vertical-align: top;
    outline: none;
    border: none;
    margin-left: 10px;
    width: 240px;
    height: 100%;
}

.search-bar img {
    margin-top: 3px;
}
/* 中间播放内容区域 */
.player-content {
    height: 410px;
    width: 100%;
    /* 让子控件根据比例来划分宽度 */
    display: flex;
    background-color: rgba(255, 255, 255, .25);
}

/* 左侧的音乐列表 */
.content-left {
    flex: 1;
    border-right: 1.5px solid #999;
    overflow: scroll;
}

.music-list {
    padding: 0;
    margin: 0;
    max-height: 410px;
}

.music-list li {
    height: 30px;
    position: relative;
    line-height: 30px;
    margin-left: 10px;
    padding-left: 5px;
    border-radius: 5px;
    overflow: hidden;
}

.music-list li:nth-child(odd) {
    background-color: rgba(255, 255, 255, .45);
}


.music-list img{
    width: 20px;
}

/* 播放按钮 */
.music-list .player-icon {
    margin-top: 5px;
    vertical-align: top;
}
/* mv按钮 */
.music-list .music-mv {
    position: absolute;
    right: 5px;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
}


/* 中间的音乐封面 */
.content-middle {
    flex: 2;
    position: relative;
}

.content-middle .music-cover {
    width: 206px;
    height: 205px;
    overflow: hidden;
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%,-50%);
    border-radius: 50%;
    
}

.content-middle .music-cover img {
    width: 205px;
    animation-fill-mode: forwards;
}

.content-middle .music-bg {
    position: absolute;
    width: 230px;
    height: 228px;
    left: 50%;
    top: 50%;
    transform: translate(-50%,-50%);
}

.music-rotation {
    animation: rotationAnimation 10s linear infinite;
}

@keyframes rotationAnimation {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

.mv {
    z-index: 10;
    position: fixed;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background-image: url(../images/player_mv_bg.jpg);
    background-size: cover;
}

.mv video {
    margin: 50px auto;
    display: block;
}


/* 评论内容 */
.content-right {
    border-left: 1.5px solid #999;
    flex: 1;
    overflow: scroll;
}

.content-right h4 {
    margin: 0;
    padding: 0;
    height: 20px;
    margin-top: 5px;
}
.content-right ul {
    margin: 0;
    padding: 0;
    margin-top: 4px;
}

.content-right li {
    margin: 0;
    padding: 0;
    position: relative;
    border-bottom: 1px solid #999;
}

.content-right li img {
    position: absolute;
    top: 0;
    left: 5px;
    width: 30px;
    border-radius: 50%;
}

.content-right li div {
    margin-left: 40px;
    padding-right: 5px;
    padding-bottom: 10px;
}

.content-right p {
    margin-top: 10px;
    min-height: 20px;
    margin-bottom: 10px;
}





/* 底部的播放内容 */
.player-audio {
    height: 45px;
    width: 100%;
    background-color: #fff;
}

.player-audio audio {
    width: 100%;
    height: 45px;
    background-color: #fff;
    border: none;
}



